package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 调查评估审核动作状态枚举
 */
@Getter
public enum InvAuditResultStatusEnum implements Serializable {
    /**
     * 审核通过，即已完成评估
     */
    COUNTRY_APPROVE("COUNTRY_APPROVE", "县同意", "待入矫"),

    COUNTRY_REJECT("COUNTRY_REJECT", "县拒绝", "审核未通过");

    /**
     * 动作类型
     */
    @Enumerated(EnumType.STRING)
    private String type;

    /**
     * 动作描述
     */
    private String desc;

    /**
     * 动作对应的状态
     */
    private String status;

    InvAuditResultStatusEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    InvAuditResultStatusEnum(String type, String desc, String status) {
        this.type = type;
        this.desc = desc;
        this.status = status;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
